package com.ljs.libackendmodel.model.dto.question;


import com.ljs.liojbackendcommon.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * 查询请求
 *
 * @author <a href="https://github.com/liljs">程序员鱼皮</a>
 * @from <a href="https://ljs.icu">编程导航知识星球</a>
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class QuestionQueryRequest extends PageRequest implements Serializable {

        private Long id;

        /**
         * 标题
         */
        private String title;

        /**
         * 内容
         */
        private String content;

        /**
         * 标签列表（json 数组）
         */
        private List<String> tags;

        /**
         * 题目答案
         */
        private String answer;

        /**
         * 创建用户 id
         */
        private Long userId;
    private static final long serialVersionUID = 1L;
}